<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fruit_name" class="form-control" name="row[fruit_name]" type="text" value="{$row.fruit_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-fruit_image" class="form-control" size="50" name="row[fruit_image]" type="text" value="{$row.fruit_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-fruit_image" class="btn btn-danger plupload" data-input-id="c-fruit_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-fruit_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-fruit_image" class="btn btn-primary fachoose" data-input-id="c-fruit_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-fruit_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-fruit_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">幼苗图片:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-first_image" class="form-control" size="50" name="row[first_image]" type="text" value="{$row.first_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-first_image" class="btn btn-danger plupload" data-input-id="c-first_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-first_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-first_image" class="btn btn-primary fachoose" data-input-id="c-first_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-first_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-first_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">半熟树苗图片:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-half_image" class="form-control" size="50" name="row[half_image]" type="text" value="{$row.half_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-half_image" class="btn btn-danger plupload" data-input-id="c-half_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-half_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-half_image" class="btn btn-primary fachoose" data-input-id="c-half_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-half_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-half_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">每次浇水可加多少经验值:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-water_experience" class="form-control" name="row[water_experience]" type="number" value="{$row.water_experience|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fruit_num" class="form-control" name="row[fruit_num]" type="number" value="{$row.fruit_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_limit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fruit_limit" class="form-control" name="row[fruit_limit]" type="number" value="{$row.fruit_limit|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fruit_text" class="form-control" name="row[fruit_text]" type="text" value="{$row.fruit_text|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fruit_gold')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fruit_gold" class="form-control" step="0.01" name="row[fruit_gold]" type="number" value="{$row.fruit_gold|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold" class="form-control" step="0.01" name="row[gold]" type="number" value="{$row.gold|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_num" class="form-control" name="row[first_num]" type="number" value="{$row.first_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_fee" class="form-control" step="0.01" name="row[first_fee]" type="number" value="{$row.first_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Renewal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-renewal" class="form-control" name="row[renewal]" type="number" value="{$row.renewal|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Renewal_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-renewal_fee" class="form-control" step="0.01" name="row[renewal_fee]" type="number" value="{$row.renewal_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Experience')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-experience" class="form-control" step="0.01" name="row[experience]" type="number" value="{$row.experience|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
